<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!doctype html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, user-scalable=no,initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
	<title>思品文档列表页-slidepin.com</title>
	<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
	<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
	<link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png">
	<link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png">
	<link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png">
	<link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png">
	<link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png">
	<link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png">
	<link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png">
	<link rel="icon" type="image/png" sizes="192x192"  href="/android-icon-192x192.png">
	<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
	<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
	<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
	<link rel="manifest" href="/manifest.json">
	<meta name="msapplication-TileColor" content="#ffffff">
	<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
	<meta name="theme-color" content="#ffffff">
	<!--[if lt IE 9]>
		<script src="/static/js/lib/html5shiv.min.js"></script>
		<script src="/static/js/lib/respond.min.js"></script>
    <![endif]-->
	<link rel="stylesheet" href="/static/css/base.css">
	<link rel="stylesheet" href="/static/css/common.css">
	<link rel="stylesheet" href="//at.alicdn.com/t/font_768387_6halbm1kqg6.css">
	<link rel="stylesheet" href="/static/css/slide.list.css">
</head>
<body>
	<?php $this->load->view('common/header');?>
	<div class="layout-container">
		<div class="layout-menu-container">
			<div class="layout-menu-box">
				<dl class="menu-item-list category-list">
					<dt class="cate">按分类:</dt>
					<dd class="collapse">
						<a href="#" class="active">全部</a>
						<a href="#">工作总结PPT</a>
						<a href="#">毕业答辩PPT</a>
						<a href="#">公开演讲PPT</a>
						<a href="#">商业计划书PPT</a>
						<a href="#">竞聘求职PPT</a>
						<a href="#">入职培训PPT</a>
						<a href="#">校园招聘PPT</a>
						<a href="#">党政军警PPT</a>
						<a href="#">年会颁奖PPT</a>
						<a href="#">公司介绍PPT</a>
						<a href="#">产品介绍PPT</a>
						<a href="#">节日庆典PPT</a>
						<a href="#">培训课件PPT</a>
						<a href="#">其它PPT</a>
						<span class="more">收起<i class="iconfont icon-up"></i></span>
					</dd>
				</dl>
				<dl class="menu-item-list sub-category-list">
					<dt>子分类:</dt>
					<dd>
						<a href="#" class="active">全部</a>
						<a href="#">小清新</a>
						<a href="#">简约风</a>
						<a href="#">复古风</a>
						<a href="#">中国风</a>
						<a href="#">可爱卡通</a>
						<a href="#">水彩手绘</a>
						<a href="#">黑板风</a>
						<a href="#">欧美风</a>
					</dd>
				</dl>
			</div>
		</div>
		<div class="layout-rank-container">
			<div class="layout-rank-box">
				<a href="#" class="box selected">综合排序</a>
				<a href="#" class="box">热门下载</a>
				<a href="#" class="box">最新上传</a>
			</div>
		</div>
		<div class="layout-list-box">
			<div class="panel-heading">
				<h3 class="heading">全部文档<small>找不到想要的文档？搜索一下试试！</small><a class="more" href="/search">去搜索</a></h3>
			</div>
			<div class="slide-list-box">
				<ul class="slide-list clearfix">
					<?php foreach ($data as $item) : ?>
					<li class="item">
						<div class="item-box">
							<div class="item-panel">
								<div class="item-thumbnail">
									<a href="/slide/<?= $item['slide_id'] ?>" target="_blank">
										<img src="<?= $item['thumbnail'] ?>" alt="">
									</a>
								</div>
								<div class="item-content">
									<h2 class="item-title"><a href="#" target="_blank"><?= $item['title'] ?></a></h2>
									<div class="item-info">
										<p class="author"><a href="/user/<?=$item['creator_id']?>" target="_blank"><?=$item['username']?></a></p>
										<div class="item-data clearfix">
											<span class="date fl"><?=date('Y-m-d',strtotime($item['publish_date']))?></span>
											<span class="view-count fr"><?=$item['view_count']?>浏览</span>
										</div>
									</div>
								</div>
							</div>
						</div>
					</li>
					<?php endforeach; ?>
				</ul>
			</div>
		</div>
	</div>
	<?php $this->load->view('common/footer');?>
</body>
</html>
